from commonUrl.BaseUrl import Burl


class TTZUrl(Burl):
    # 公共URL
    COMMON_URL = "http://webapicname.coo456.com/"
    # # 用户登录页
    # 'http://webapicname.coo456.com/apiNew/H5login?token=3433a441ac7e0ea5f019f99f8e1600ad&client=app&Cellphone=17120572203&Password=qm1006406&Imei=unknow/',
    # LOGIN_URL = COMMON_URL + "apiNew/H5login?token="
    LOGIN_URL = COMMON_URL + "apiNew/H5login"

    LOGOUT_URL = COMMON_URL + "logout"
    # 用户信息
    USER_INFO_URL = COMMON_URL + "apiNew/UserInfo?token="
    # 当前最新一期的正在开奖信息
    CURRENT_LOTTERY_INFO_URL = COMMON_URL + "ApiNewLuck/lotteryInfo?token="
    # 首页所有开奖信息
    INDEX_LOTTERY_INFO_URL = COMMON_URL + "ApiNewLuck/indexList?token="
    # 下注历史信息
    LOTTERY_HISTORY_URL = COMMON_URL + "ApiNewLuck/myList?token="
    # 下注
    # "http://webapicname.coo456.com/ApiNewLuck/doingLottery?token=d3687d6809dd17db73f07730630666d7&g28=luck&arr=1,3,6,10,15,21,28,36,45,55,63,69,73,75,75,73,69,63,55,45,36,28,21,15,10,6,3,1&luckId=2695728"
    LOTTERY_ISSUE_URL = COMMON_URL + "ApiNewLuck/doingLottery?token="
    # 获取换卡数url
    EXCHANGE_CARD_NUM_URL = COMMON_URL + "apiNewLottery/exchange?token="
    # 抽取动作
    EXCHANGE_CARD_COMPOSE_URL = COMMON_URL+"apiNewLottery/lottery?token="
    EXCHANGE_CARD_COMPOSE_INFO_URL = COMMON_URL+"apiNewLottery/info?token="
    # 可合成商品列表
    EXCHANGE_CARD_COMPOSE_LIST = COMMON_URL + "apiNewLottery/composeList?token="
    # 合成指定商品
    EXCHANGE_CARD_COMPOSE_GOODS = COMMON_URL + "apiNewLottery/compose?token="
    # ===================================================================
    # 账号充值
    CHARGE_CARD_URL = COMMON_URL + "apiNew/batchUseFuLiCard?token="
    # 火蚁卡信息
    CARD_INFO_LIST_URL = COMMON_URL + "apiNew/userAward?token="
    # 卡片信息
    CARD_INFO_AND_PWD_URL = COMMON_URL + "apiNewPerson/getCardSecret?token="
    # 微信机器人 url
    # WX_REBOT_URL ="http://152.136.120.231:8888/webhook/msg" POST
    # {
    #     "to": "莫葙依",
    #     "type": "text",
    #     "content": "你好 我是小助理"
    # }
    WX_REBOT_URL ="http://152.136.120.231:8888/"